Link to this headingSpeed Test

Link to this headingHTTP Stress Test

HTTPperf:

# Basic stress test httperf --hog --server HOST --num-conn 1000 --ra 100 --timeout 5 # Target specific server httperf --hog --server 192.168.1.3 --num-conn 1000 --ra 100 --timeout 5 # Session-based testing httperf --hog --server=192.168.1.3 --wsess=10,5,2 --rate 1 --timeout 5 # SSL testing httperf --hog --server=www --wsess=10,5,2 --rate=1 --timeout=5 --ssl # Advanced SSL testing with specific ciphers httperf --hog --server=bankinghome.es/apl/donativos/index_ca.html --wsess=10,5,2 --rate=1 --timeout=5 --ssl --ssl-ciphers=EXP-RC4-MD5:EXP-RC2-CBC-MD5 --ssl-no-reuse --http-version=1.0 httperf --hog --server=17.148.71.129/index.html --wsess=10,5,2 --rate=1 --timeout=5 --ssl --ssl-ciphers=EXP-RC4-MD5:EXP-RC2-CBC-MD5 --ssl-no-reuse --http-version=1.0 httperf --hog --server=http://17.148.71.129/index.html --wsess=10,5,2 --rate=1 --timeout=5 --ssl --ssl-ciphers=EXP-RC4-MD5:EXP-RC2-CBC-MD5 --ssl-no-reuse --http-version=1.0

Link to this headingfakeconnect

Basic connection flooding:

fakeconnect -s SOURCE -d HOST -p PORT

Link to this headingApache benchmarking tool

Basic benchmarking:

ab -n 100 -c 4 -p test.jpg http://localhost/

Link to this headingCurl-loader

Curl-loader - Versatile web application load testing tool

Link to this headingServer Settings

Increase limit of descriptors (sockets)

ulimit -n 10000;

Or set reuse of sockets in time-wait state:

echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle and/or echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse; echo 1 > /proc/sys/net/ipv4/tcp_moderate_rcvbuf echo 108544 > /proc/sys/net/core/wmem_max echo 108544 > /proc/sys/net/core/rmem_max echo "4096 87380 4194304" > /proc/sys/net/ipv4/tcp_rmem echo "4096 16384 4194304" > /proc/sys/net/ipv4/tcp_wmem